package com.example.demo.entity;

import java.util.Date;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.example.demo.Excel.ExcelColumn;

/**
 * <p>
 * 
 * </p>
 *
 * @author hanfei
 * @since 2021-05-13
 */
@ApiModel("")
public class Status_changes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 状态更新id
     */
    @TableId("status_id")
    @ApiModelProperty(value = "状态更新id")
    @ExcelColumn(value = "状态更新id",col = 1)
    private String status_id;
    /**
     * 企业名称
     */
    @TableField("company_name")
    @ApiModelProperty(value = "企业名称")
    @ExcelColumn(value = "企业名称",col = 1)
    private String company_name;
    /**
     * 企业id
     */
    @TableField("company_id")
    @ApiModelProperty(value = "企业id")
    @ExcelColumn(value = "企业id",col = 1)
    private String company_id;
    /**
     * mac address
     */
    @TableField("cm_mac")
    @ApiModelProperty(value = "mac address")
    @ExcelColumn(value = "mac address",col = 1)
    private String cm_mac;
    /**
     * 状态 （0:在线，1:离线，2：故障）
     */
    @TableField("status")
    @ApiModelProperty(value = "状态 （0:在线，1:离线，2：故障）")
    @ExcelColumn(value = "状态 （0:在线，1:离线，2：故障）",col = 1)
    private Integer status;
    /**
     * 更新时间
     */
    @TableField("update_time")
    @ApiModelProperty(value = "更新时间")
    @ExcelColumn(value = "更新时间",col = 1)
    private Date update_time;
    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(value = "创建时间",col = 1)
    private Date create_time;


    public String getStatus_id() {
        return status_id;
    }

    public void setStatus_id(String status_id) {
        this.status_id = status_id;
    }

    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getCompany_id() {
        return company_id;
    }

    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }

    public String getCm_mac() {
        return cm_mac;
    }

    public void setCm_mac(String cm_mac) {
        this.cm_mac = cm_mac;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "Status_changes{" +
        "status_id=" + status_id +
        ", company_name=" + company_name +
        ", company_id=" + company_id +
        ", cm_mac=" + cm_mac +
        ", status=" + status +
        ", update_time=" + update_time +
        ", create_time=" + create_time +
        "}";
    }
}
